import request from '@/plugins/request.js'


//假设检验
export function getCurveshypothesis(data) {
    return request({
        url: '/curves-hypothesis',
        method: 'post',
        data
    })
}
//查找到的曲线斜率与截距
// export function getCurvesPointdata(k1000, k2000, maschineId,k0014ss) {
//     return request({
//         url: '/curves-pointdata?k1000='+k1000+"&"+"k2000="+k2000+"&"+"k0010="+maschineId+"&"+"k0014s="+k0014ss,
//         method: 'GET',
//         data: data
//     })
// }

//查找到的曲线斜率与截距
export function getCurvesPointdata(k1000, k2000, maschineId,k0014ss) {
    return request({
        url: '/curves-pointdata?k1000='+k1000+"&"+"k2000="+k2000+"&"+"k0010="+maschineId+"&"+"k0014="+k0014ss,
        method: 'GET',
    })
}

//添加属性特征
export function getPropertiesAdd(data) {
    return request({
        url: '/properties_add',
        method: 'GET',
        data
    })
}

//查找到的属性特征
export function getPropertiesQuery(data) {
    return request({
        url: '/properties_query',
        method: 'GET',
        data
    })
}
